// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function () {
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '库位表',
        name: 'storagelocationmodel',
        url: "/storagelocationmodel/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{ field: 'Id', title: '库位id', type: 'int', width: 110, hidden: true, readonly: true, require: true, align: 'left' },
    { field: 'locationCode', title: '库位编号', type: 'string', width: 220, align: 'left', sort: true },
    { field: 'locationName', title: '库位名称', type: 'string', width: 220, align: 'left' },
    { field: 'locationCapacity', title: '库位容量', type: 'string', width: 220, align: 'left' },
    { field: 'UserId', title: '仓管员', type: 'int', width: 110, align: 'left' },
    { field: 'locationState', title: '库位状态', type: 'string', width: 220, align: 'left' },
    { field: 'locationDesc', title: '库位备注', type: 'string', width: 220, align: 'left' },
    { field: 'locationSort', title: '排序', type: 'string', width: 220, align: 'left' },
    { field: 'IsDel', title: '删除标识', type: 'sbyte', width: 110, align: 'left' },
    { field: 'Creator', title: '创建人', type: 'string', width: 100, align: 'left' },
    { field: 'CreateDate', title: '创建时间', type: 'datetime', width: 150, align: 'left', sort: true },
    { field: 'Modifier', title: '修改人', type: 'string', width: 100, align: 'left' },
    { field: 'ModifyDate', title: '修改时间', type: 'datetime', width: 150, align: 'left', sort: true },
    { field: 'CreateID', title: '创建人id', type: 'int', width: 100, hidden: true, align: 'left' },
    { field: 'ModifyID', title: '修改人id', type: 'int', width: 100, hidden: true, align: 'left' },
    { field: 'warehouseId', title: '仓库外键', type: 'bigint', width: 120, align: 'left' }];
    const detail = { columns: [] };
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}